package com.fastjrun.client;

import java.util.ResourceBundle;

public abstract class BaseCoreClient extends BaseHttpClient {

    protected String coreUrlPre;

    public String getCoreUrlPre() {
        return coreUrlPre;
    }

    public void setCoreUrlPre(String coreUrlPre) {
        this.coreUrlPre = coreUrlPre;
    }

    protected String generateUrlSuffix() {
        return "";
    }

    public void initSDKConfig(String apiworld) {
        ResourceBundle rb = ResourceBundle.getBundle(apiworld + "-sdk");
        this.coreUrlPre = rb.getString(apiworld + ".coreUrlPre");
    }
}
